/*
 * dumy.h
 *
 *  Created on: 2010-11-21
 *      Author: terry
 */

#ifndef DUMY_H_
#define DUMY_H_


#include "allegro.h"
#ifdef __cplusplus
extern "C" {
#endif

typedef void* (*TTimerCallBack_Func)(void* data);

uid_t geteuid();
gid_t getegid();

void draw_to_native(unsigned char* data, int w, int h);
void direct_render();

int main();

void* timer_init(TTimerCallBack_Func, int interval);

void timer_exit(void* ptimer);

void timer_after(void* ptimer, int interval);
#ifdef __cplusplus
}
#endif
#endif /* DUMY_H_ */
